import UIKit

@available(iOS 8.0, *)
extension QKC where AA :UISearchController {
	// The object responsible for updating the content of the searchResultsController.
     open func searchResultsUpdater_qk_s(_ searchResultsUpdater:  UISearchResultsUpdating?) -> QKC<AA,YY,ZZ, UISearchResultsUpdating?>{
		return link(next: searchResultsUpdater).then_QK { $0.value.searchResultsUpdater = searchResultsUpdater }
	}
     open func searchResultsUpdater_qk_g() -> QKC<AA,YY,ZZ, UISearchResultsUpdating?>{
		 self +^ self.value.searchResultsUpdater
	}

	// Setting this property to YES is a convenience method that performs a default presentation of the search controller appropriate for how the controller is configured. Implement -presentSearchController: if the default presentation is not adequate.
    open func isActive_qk_s(_ isActive:  Bool) -> QKC<AA,YY,ZZ, Bool>{
		return link(next: isActive).then_QK { $0.value.isActive = isActive }
	}
    open func isActive_qk_g() -> QKC<AA,YY,ZZ, Bool>{
		 self +^ self.value.isActive
	}

     open func delegate_qk_s(_ delegate:  UISearchControllerDelegate?) -> QKC<AA,YY,ZZ, UISearchControllerDelegate?>{
		return link(next: delegate).then_QK { $0.value.delegate = delegate }
	}
     open func delegate_qk_g() -> QKC<AA,YY,ZZ, UISearchControllerDelegate?>{
		 self +^ self.value.delegate
	}

		// default is YES, and has the same behavior as obscuresBackgroundDuringPresentation.
    @available(iOS, introduced: 8.0, deprecated: 12.0)
    open func dimsBackgroundDuringPresentation_qk_s(_ dimsBackgroundDuringPresentation:  Bool ) -> QKC<AA,YY,ZZ, Bool >{
		return link(next: dimsBackgroundDuringPresentation).then_QK { $0.value.dimsBackgroundDuringPresentation = dimsBackgroundDuringPresentation }
	}
    @available(iOS, introduced: 8.0, deprecated: 12.0)
    open func dimsBackgroundDuringPresentation_qk_g() -> QKC<AA,YY,ZZ, Bool >{
		 self +^ self.value.dimsBackgroundDuringPresentation
	}

		// default is YES. On tvOS, defaults to NO when contained in UISearchContainerViewController.
    @available(iOS 9.1, *)
    open func obscuresBackgroundDuringPresentation_qk_s(_ obscuresBackgroundDuringPresentation:  Bool ) -> QKC<AA,YY,ZZ, Bool >{
		return link(next: obscuresBackgroundDuringPresentation).then_QK { $0.value.obscuresBackgroundDuringPresentation = obscuresBackgroundDuringPresentation }
	}
    @available(iOS 9.1, *)
    open func obscuresBackgroundDuringPresentation_qk_g() -> QKC<AA,YY,ZZ, Bool >{
		 self +^ self.value.obscuresBackgroundDuringPresentation
	}

		// default is YES
    open func hidesNavigationBarDuringPresentation_qk_s(_ hidesNavigationBarDuringPresentation:  Bool ) -> QKC<AA,YY,ZZ, Bool >{
		return link(next: hidesNavigationBarDuringPresentation).then_QK { $0.value.hidesNavigationBarDuringPresentation = hidesNavigationBarDuringPresentation }
	}
    open func hidesNavigationBarDuringPresentation_qk_g() -> QKC<AA,YY,ZZ, Bool >{
		 self +^ self.value.hidesNavigationBarDuringPresentation
	}

    open func searchResultsController_qk_g() -> QKC<AA,YY,ZZ, UIViewController? >{
		 self +^ self.value.searchResultsController
	}

	// You are free to become the search bar's delegate to monitor for text changes and button presses.
    open func searchBar_qk_g() -> QKC<AA,YY,ZZ, UISearchBar >{
		 self +^ self.value.searchBar
	}

		// When true, UISearchController will automatically show its results controller based on the contents of its text property. Defaults to true. Setting the showsSearchResultsController property will change this property to false.
    @available(iOS 13.0, *)
    open func automaticallyShowsSearchResultsController_qk_s(_ automaticallyShowsSearchResultsController:  Bool ) -> QKC<AA,YY,ZZ, Bool >{
		return link(next: automaticallyShowsSearchResultsController).then_QK { $0.value.automaticallyShowsSearchResultsController = automaticallyShowsSearchResultsController }
	}
    @available(iOS 13.0, *)
    open func automaticallyShowsSearchResultsController_qk_g() -> QKC<AA,YY,ZZ, Bool >{
		 self +^ self.value.automaticallyShowsSearchResultsController
	}

		// Set this property to directly control the visibility of the search results controller. Setting this property changes the automaticallyShowsSearchResultsController property to false.
    @available(iOS 13.0, *)
    open func showsSearchResultsController_qk_s(_ showsSearchResultsController:  Bool ) -> QKC<AA,YY,ZZ, Bool >{
		return link(next: showsSearchResultsController).then_QK { $0.value.showsSearchResultsController = showsSearchResultsController }
	}
    @available(iOS 13.0, *)
    open func showsSearchResultsController_qk_g() -> QKC<AA,YY,ZZ, Bool >{
		 self +^ self.value.showsSearchResultsController
	}

		// Default YES
    @available(iOS 13.0, *)
    open func automaticallyShowsCancelButton_qk_s(_ automaticallyShowsCancelButton:  Bool ) -> QKC<AA,YY,ZZ, Bool >{
		return link(next: automaticallyShowsCancelButton).then_QK { $0.value.automaticallyShowsCancelButton = automaticallyShowsCancelButton }
	}
    @available(iOS 13.0, *)
    open func automaticallyShowsCancelButton_qk_g() -> QKC<AA,YY,ZZ, Bool >{
		 self +^ self.value.automaticallyShowsCancelButton
	}

		// Defaults to YES
    @available(iOS 13.0, *)
    open func automaticallyShowsScopeBar_qk_s(_ automaticallyShowsScopeBar:  Bool ) -> QKC<AA,YY,ZZ, Bool >{
		return link(next: automaticallyShowsScopeBar).then_QK { $0.value.automaticallyShowsScopeBar = automaticallyShowsScopeBar }
	}
    @available(iOS 13.0, *)
    open func automaticallyShowsScopeBar_qk_g() -> QKC<AA,YY,ZZ, Bool >{
		 self +^ self.value.automaticallyShowsScopeBar
	}

}

